package com.fs.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("students")
public class Students implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sid", type = IdType.INPUT)
    private Integer sid;

    private String sname;

    private String phnumber;

    private String password;

    private String email;

    private Integer departmentid;

    private Integer majorid;

    private Integer credit;

    private Integer grade;

    private Integer classname;


}
